package deploy;

import java.io.File;
import java.rmi.RemoteException;

import static common.Utils.*;

public class TestDeploy {
    public static void main(String[] args) throws RemoteException {
        NNDeploy nn = new NNDeploy(NN_PORT);
        nn.server();
        DNDeploy dn1 = new DNDeploy(remoteIp, startPort, startTPort, "storage1//");
        DNDeploy dn2 = new DNDeploy(remoteIp, startPort+1, startTPort+1, "storage2//");
        DNDeploy dn3 = new DNDeploy(remoteIp, startPort+2, startTPort+2, "storage3//");
        dn1.server();
        dn2.server();
        dn3.server();
    }
}
